package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.JiajiaOrderSeparateAccounts;
import com.ruoyi.system.domain.vo.JiajiaOrderSeparateAccountsVo;
import com.ruoyi.system.mapper.JiajiaOrderSeparateAccountsMapper;
import com.ruoyi.system.service.ApiSeparateAccountsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;


@Service
public class ApiSeparateAccountsServiceImpl implements ApiSeparateAccountsService {

    @Autowired
    JiajiaOrderSeparateAccountsMapper jiajiaOrderSeparateAccountsMapper;
    @Override
    public List<JiajiaOrderSeparateAccountsVo> selectJiajiaOrderSeparateAccountsList(JiajiaOrderSeparateAccounts jiajiaOrderSeparateAccounts) {
        return jiajiaOrderSeparateAccountsMapper.selectJiajiaOrderSeparateAccountsList(jiajiaOrderSeparateAccounts);
    }

    @Override
    public BigDecimal sumMoney() {
        String openid="";
        return jiajiaOrderSeparateAccountsMapper.sumMoney(openid);
    }


}
